<template>
  <div>
    <h3>GrandSon</h3>
    <p>grandpa send me ${{ money }}</p>
    <p>
      <button @click="send">send</button>
    </p>
  </div>
</template>

<script setup>
import { inject } from 'vue'
const money = inject('money')
const fn = inject('fn')

const send = () => {
  fn(9000000000)
}
</script>
